(function()
{
	//左右栏之间的Border
	setTimeout(function(){MakeColsEqual('Side', 'Main');}, 3000);

	//最新产品
	$('.Block1 .Side .List2').marquee('up', 2, 100).mouseover(function(){$(this).trigger('stop');}).mouseout(function(){$(this).trigger('start');});	

	if (typeof(_page) == 'undefined')
		return;

	if(_page == 'index')
	{
		//$.post(_webPath + 'alicms.aspx?Object=Company&Operation=IncrementHitCount&ID=' + _id, {});		
	}
	else if(_page == 'talk')
	{
		$('form').submit(AddTalk);
	}
	else if (_page == 'news')
	{
		$.post(_webPath + 'alicms.aspx?Object=News&Operation=IncrementHitCount&ID=' + _id, {});
	}
	else if (_page == 'product')
	{
		$.post(_webPath + 'alicms.aspx?Object=Product&Operation=IncrementHitCount&ID=' + _id, {});
	}
})();